mirror of
https://github.com/python/cpython.git
synced 2025-07-30 14:44:10 +00:00
Add a note in the main test class' docstring that the order of execution of the
tests is important.
This commit is contained in:
parent
6382ffc892
commit
bfbf5b3715
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,10 @@ class TestCase(unittest.TestCase):
|
||||||
"""Test that each file function works as expected for a large
|
"""Test that each file function works as expected for a large
|
||||||
(i.e. > 2GB, do we have to check > 4GB) files.
|
(i.e. > 2GB, do we have to check > 4GB) files.
|
||||||
|
|
||||||
|
NOTE: the order of execution of the test methods is important! test_seek
|
||||||
|
must run first to create the test file. File cleanup must also be handled
|
||||||
|
outside the test instances because of this.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def test_seek(self):
|
def test_seek(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue