Home | History | Annotate | Download | only in test

Lines Matching defs:Test

15 from test import support
16 from test.support import script_helper
113 """Test that temp_dir() creates and destroys its directory."""
128 """Test passing no path."""
134 """Test passing a directory that already exists."""
150 """Test passing a directory that already exists with quiet=True."""
170 @unittest.skipUnless(hasattr(os, "fork"), "test requires os.fork")
172 """Test that a forked child process does not remove the directory."""
174 # Run the test as an external script, because it uses fork.
177 from test import support
210 """Test passing a non-existent directory."""
225 """Test passing a non-existent directory with quiet=True."""
271 """Test passing None to temp_cwd()."""
319 # call test code that consumes from sys.stdin
460 code = f'from test
475 # Test test.support.args_from_interpreter_flags()
510 # Test test.support.optim_args_from_interpreter_flags()
522 class Test:
529 test_access = Test('test.test_os.FileTests.test_access')
530 test_chdir = Test('test.test_os.Win32ErrorTests.test_chdir')
543 # match the full test identifier
553 # Test '*' pattern
558 # Test case sensitivity
564 # Test pattern containing '.' and a '*' metacharacter
579 # We cannot test the absolute value of fd_count(): on old Linux