You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
296 B
16 lines
296 B
|
7 days ago
|
import importlib
|
||
|
|
import pickle
|
||
|
|
|
||
|
|
import packaging
|
||
|
|
|
||
|
|
from setuptools import Distribution
|
||
|
|
|
||
|
|
|
||
|
|
def test_reimport_extern():
|
||
|
|
packaging2 = importlib.import_module(packaging.__name__)
|
||
|
|
assert packaging is packaging2
|
||
|
|
|
||
|
|
|
||
|
|
def test_distribution_picklable():
|
||
|
|
pickle.loads(pickle.dumps(Distribution()))
|