lib-python/3/test/test_future_stmt::unmodified
== PyPy 3.12.13 (e99dc7a98783, Jul 10 2026, 07:10:46) [PyPy 8.0.0-alpha0 with GCC Apple LLVM 16.0.0 (clang-1600.0.26.6)]
== macOS-15.7.7-x86_64-i386-64bit little-endian
== Python build: release with_assert
== cwd: /private/tmp/buildbot-x86_64/pytest/test_python_worker_33436æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 834190372
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 1.57 Run 5 tests sequentially in a single process
0:00:00 load avg: 1.57 [1/5] test_future_stmt.test_future
test_annotation_with_complex_target (test.test_future_stmt.test_future.AnnotationsFutureTestCase.test_annotation_with_complex_target) ... ok
test_annotations (test.test_future_stmt.test_future.AnnotationsFutureTestCase.test_annotations) ... ok
test_annotations_forbidden (test.test_future_stmt.test_future.AnnotationsFutureTestCase.test_annotations_forbidden) ... ok
test_annotations_symbol_table_pass (test.test_future_stmt.test_future.AnnotationsFutureTestCase.test_annotations_symbol_table_pass) ... ok
test_fstring_debug_annotations (test.test_future_stmt.test_future.AnnotationsFutureTestCase.test_fstring_debug_annotations) ... ok
test_get_type_hints_on_func_with_variadic_arg (test.test_future_stmt.test_future.AnnotationsFutureTestCase.test_get_type_hints_on_func_with_variadic_arg) ... ok
test_infinity_numbers (test.test_future_stmt.test_future.AnnotationsFutureTestCase.test_infinity_numbers) ... ok
test_badfuture10 (test.test_future_stmt.test_future.FutureTest.test_badfuture10) ... ok
test_badfuture3 (test.test_future_stmt.test_future.FutureTest.test_badfuture3) ... FAIL
test_badfuture4 (test.test_future_stmt.test_future.FutureTest.test_badfuture4) ... ok
test_badfuture5 (test.test_future_stmt.test_future.FutureTest.test_badfuture5) ... ok
test_badfuture6 (test.test_future_stmt.test_future.FutureTest.test_badfuture6) ... ok
test_badfuture7 (test.test_future_stmt.test_future.FutureTest.test_badfuture7) ... FAIL
test_badfuture8 (test.test_future_stmt.test_future.FutureTest.test_badfuture8) ... FAIL
test_badfuture9 (test.test_future_stmt.test_future.FutureTest.test_badfuture9) ... FAIL
test_ensure_flags_dont_clash (test.test_future_stmt.test_future.FutureTest.test_ensure_flags_dont_clash) ... ok
test_future1 (test.test_future_stmt.test_future.FutureTest.test_future1) ... ok
test_future2 (test.test_future_stmt.test_future.FutureTest.test_future2) ... ok
test_future_multiple_features (test.test_future_stmt.test_future.FutureTest.test_future_multiple_features) ... ok
test_future_multiple_imports (test.test_future_stmt.test_future.FutureTest.test_future_multiple_imports) ... ok
test_future_single_import (test.test_future_stmt.test_future.FutureTest.test_future_single_import) ... ok
test_syntactical_future_repl (test.test_future_stmt.test_future.FutureTest.test_syntactical_future_repl) ... ok
test_unicode_literals_exec (test.test_future_stmt.test_future.FutureTest.test_unicode_literals_exec) ... ok
======================================================================
FAIL: test_badfuture3 (test.test_future_stmt.test_future.FutureTest.test_badfuture3)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 58, in test_badfuture3
self.check_syntax_error(cm.exception, "badsyntax_future3", 3, 24)
^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 25, in check_syntax_error
self.assertEqual(err.offset, offset)
^^^^^^^^^^^
AssertionError: 1 != 24
======================================================================
FAIL: test_badfuture7 (test.test_future_stmt.test_future.FutureTest.test_badfuture7)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 78, in test_badfuture7
self.check_syntax_error(cm.exception, "badsyntax_future7", 3, 54)
^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 22, in check_syntax_error
self.assertIn('%s.py, line %d' % (basename, lineno), str(err))
^^^^^^^^
AssertionError: 'badsyntax_future7.py, line 3' not found in '__future__ statements must appear at beginning of file (badsyntax_future7.py, lines 3-4)'
======================================================================
FAIL: test_badfuture8 (test.test_future_stmt.test_future.FutureTest.test_badfuture8)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 83, in test_badfuture8
self.check_syntax_error(cm.exception, "badsyntax_future8", 3, 24)
^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 25, in check_syntax_error
self.assertEqual(err.offset, offset)
^^^^^^^^^^^
AssertionError: 1 != 24
======================================================================
FAIL: test_badfuture9 (test.test_future_stmt.test_future.FutureTest.test_badfuture9)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 88, in test_badfuture9
self.check_syntax_error(cm.exception, "badsyntax_future9", 3, 39)
^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 25, in check_syntax_error
self.assertEqual(err.offset, offset)
^^^^^^^^^^^
AssertionError: 1 != 39
----------------------------------------------------------------------
Ran 23 tests in 0.206s
FAILED (failures=4)
0:00:00 load avg: 1.52 [1/5/1] test_future_stmt.test_future failed (4 failures)
0:00:00 load avg: 1.52 [2/5/1] test_future_stmt.test_future_flags
test_attributes (test.test_future_stmt.test_future_flags.FutureTest.test_attributes) ... ok
test_names (test.test_future_stmt.test_future_flags.FutureTest.test_names) ... ok
----------------------------------------------------------------------
Ran 2 tests in 0.001s
OK
0:00:00 load avg: 1.52 [2/5/1] test_future_stmt.test_future_flags passed
0:00:00 load avg: 1.52 [3/5/1] test_future_stmt.test_future_multiple_features
test_print_function (test.test_future_stmt.test_future_multiple_features.TestMultipleFeatures.test_print_function) ... ok
test_unicode_literals (test.test_future_stmt.test_future_multiple_features.TestMultipleFeatures.test_unicode_literals) ... ok
----------------------------------------------------------------------
Ran 2 tests in 0.000s
OK
0:00:00 load avg: 1.52 [3/5/1] test_future_stmt.test_future_multiple_features passed
0:00:00 load avg: 1.52 [4/5/1] test_future_stmt.test_future_multiple_imports
test_unicode_literals (test.test_future_stmt.test_future_multiple_imports.Tests.test_unicode_literals) ... ok
----------------------------------------------------------------------
Ran 1 test in 0.000s
OK
0:00:00 load avg: 1.52 [4/5/1] test_future_stmt.test_future_multiple_imports passed
0:00:00 load avg: 1.52 [5/5/1] test_future_stmt.test_future_single_import
test_floor_div_operator (test.test_future_stmt.test_future_single_import.TestFuture.test_floor_div_operator) ... ok
test_nested_scopes (test.test_future_stmt.test_future_single_import.TestFuture.test_nested_scopes) ... ok
test_true_div_as_default (test.test_future_stmt.test_future_single_import.TestFuture.test_true_div_as_default) ... ok
----------------------------------------------------------------------
Ran 3 tests in 0.000s
OK
0:00:00 load avg: 1.52 [5/5/1] test_future_stmt.test_future_single_import passed
== Tests result: FAILURE ==
1 test failed:
test_future_stmt.test_future
4 tests OK.
Total duration: 458 ms
Total tests: run=31 failures=4
Total test files: run=5/5 failed=1
Result: FAILURE
test test_future_stmt.test_future failed
builder: pypy-c-jit-macos-x86-64 build #1329+
test: lib-python/3/test/test_future_stmt::unmodified