(constraints, compatibilities)
| 116 | ], |
| 117 | ) |
| 118 | def test_is_not_python2(constraints, compatibilities): |
| 119 | Subsystem.reset() |
| 120 | init_subsystem( |
| 121 | PythonSetup, |
| 122 | { |
| 123 | PythonSetup.options_scope: { |
| 124 | "interpreter_constraints": RankedValue(Rank.CONFIG, constraints) |
| 125 | } |
| 126 | }, |
| 127 | ) |
| 128 | assert not is_python2(compatibilities, PythonSetup.global_instance()) |
nothing calls this directly
no test coverage detected