Commit 37b173c
authored
Previously TestIntEnumConvert and TestStrEnumConvert would end up
converting the module level variables from their regular int form
to a `test.test_enum.X` instance after _convert would run. This
meant that after a single test ran, the next set of _convert
functions would be operating on the enum instances rather than
ints. This would cause some tests such as the one involving format
to fail when running under a mode that repeatedly runs test such
as the refleak finder.
1 parent dc516ef commit 37b173c
1 file changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3642 | 3642 | | |
3643 | 3643 | | |
3644 | 3644 | | |
| 3645 | + | |
| 3646 | + | |
| 3647 | + | |
| 3648 | + | |
| 3649 | + | |
| 3650 | + | |
| 3651 | + | |
| 3652 | + | |
3645 | 3653 | | |
3646 | 3654 | | |
3647 | 3655 | | |
| |||
3688 | 3696 | | |
3689 | 3697 | | |
3690 | 3698 | | |
3691 | | - | |
3692 | | - | |
3693 | 3699 | | |
3694 | 3700 | | |
3695 | 3701 | | |
| |||
3704 | 3710 | | |
3705 | 3711 | | |
3706 | 3712 | | |
| 3713 | + | |
| 3714 | + | |
| 3715 | + | |
| 3716 | + | |
| 3717 | + | |
3707 | 3718 | | |
3708 | 3719 | | |
3709 | 3720 | | |
| |||
0 commit comments