Skip certain tests in python (nosetests)

How can I skip certain tests on the CI, while running them locally?

right now I am using CI environmental variable as a trigger within the test:


class Test_Picaso(unittest.TestCase):
’’‘test indexing subpackage’’’

def test_Visuals(self):
	from ..picaso import Visuals
	if 'CI' not in os.environ.keys():
    	sid = 1273321
    	Sale1 = Visuals(eid=sid)

but this approach really smells, so I assume there should be a better way...