Skip to content

Commit a5d2265

Browse files
Address review
1 parent b742a25 commit a5d2265

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lib/test/test_marshal.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import gc
2-
31
from test import support
42
from test.support import is_apple_mobile, os_helper, requires_debug_ranges, is_emscripten
53
from test.support.script_helper import assert_python_ok
64
import array
5+
import gc
76
import io
87
import marshal
98
import sys
@@ -929,6 +928,7 @@ def _tracked(self, t):
929928

930929
def testTuple(self):
931930
x, y, z = 1.5, "a", []
931+
t = (True, False, ())
932932

933933
self._not_tracked_instantly(())
934934
self._not_tracked_instantly((1,))
@@ -943,7 +943,7 @@ def testTuple(self):
943943
self._not_tracked_instantly((1, 2) * 5)
944944

945945
self._not_tracked(((1, x), y, (2, 3)))
946-
self._not_tracked((1, 2, (True, False, ())))
946+
self._not_tracked((1, 2, t))
947947

948948
self._tracked(([],))
949949
self._tracked(([1],))

0 commit comments

Comments
 (0)