File: basic_test.py

package info (click to toggle)
wxmplot 0.9.58-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 25,052 kB
  • sloc: python: 10,085; makefile: 88; sh: 2
file content (24 lines) | stat: -rw-r--r-- 389 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env python
# simple wxmplot import

import numpy
import matplotlib

def test_import():
    success = False
    try:
        import wxmplot
        success = True
    except:
        pass
    assert(success)


def test_interactive_import():
    success = False
    try:
        import wxmplot.interactive as wi
        success = True
    except:
        pass
    assert(success)