Skip to content

Commit f908bea

Browse files
committed
MNT: Remove nibabel.py3k
1 parent 83460bb commit f908bea

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

nibabel/conftest.py

-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import pytest
22

3-
# Pre-load deprecated modules to avoid cluttering warnings
4-
with pytest.warns(FutureWarning):
5-
import nibabel.py3k
6-
73
# Ignore warning requesting help with nicom
84
with pytest.warns(UserWarning):
95
import nibabel.nicom

nibabel/py3k.py

-9
This file was deleted.

nibabel/tests/test_removalschedule.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import pytest
55

66
MODULE_SCHEDULE = [
7-
("5.0.0", ["nibabel.keywordonly"]),
7+
("5.0.0", ["nibabel.keywordonly", "nibabel.py3k"]),
88
("4.0.0", ["nibabel.trackvis"]),
99
("3.0.0", ["nibabel.minc", "nibabel.checkwarns"]),
1010
# Verify that the test will be quiet if the schedule outlives the modules

0 commit comments

Comments
 (0)