~ubuntu-branches/ubuntu/karmic/python-scipy/karmic

« back to all changes in this revision

Viewing changes to Lib/xxx/yyy/tests/test_yyy.py

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T. Chen (new)
  • Date: 2005-03-16 02:15:29 UTC
  • Revision ID: james.westby@ubuntu.com-20050316021529-xrjlowsejs0cijig
Tags: upstream-0.3.2
ImportĀ upstreamĀ versionĀ 0.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
import sys
 
3
from scipy_test.testing import *
 
4
 
 
5
set_package_path()
 
6
# make sure that all yyy symbols are imported before the del statement:
 
7
from yyy import fun
 
8
del sys.path[0]
 
9
 
 
10
class test_fun(ScipyTestCase):
 
11
      def check_simple(self, level=1):
 
12
          assert fun()=='Hello from yyy.fun'
 
13
      #...
 
14
 
 
15
if __name__ == "__main__":
 
16
    ScipyTest('yyy').run()