summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-02-12 03:27:31 +0000
committerTim Peters <tim.peters@gmail.com>2001-02-12 03:27:31 +0000
commit76c066b103c23702d328aa9056c65d02abb8a3ac (patch)
tree5f6fb7a7cf233e158ba457c8ddb5176b3fa414b1 /Python/compile.c
parentc62c81e013fbc9a726493870c3624b60ae63a757 (diff)
downloadcpython-git-76c066b103c23702d328aa9056c65d02abb8a3ac.tar.gz
test_pty started failing on Windows, but if and only if test___all__ was
run first. Indirectly due to Skip adding check_all("pty") to test___all__: that caused the expected ImportError due to pty.py trying to import the non-existent FCNTL to get handled by test___all__, leaving a partial module object for pty in sys.modules, which caused the later import of pty via test_pty to succeed. Then test_tpy died with an AttributeError, due to trying to access attributes of pty that didn't exist. regrtest viewed that as a failure rather than the appropriate "test skipped". Fixed by deleting partial module objects in test___all__ when test___all__ handles an ImportError.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions