16 lines
296 B
Python
16 lines
296 B
Python
|
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()))
|