~ubuntu-branches/ubuntu/utopic/python-chaco/utopic

« back to all changes in this revision

Viewing changes to chaco/scales/time_scale_test_case.py

  • Committer: Package Import Robot
  • Author(s): Andrew Starr-Bochicchio
  • Date: 2014-06-01 17:04:08 UTC
  • mfrom: (7.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20140601170408-m86xvdjd83a4qon0
Tags: 4.4.1-1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
 - Let the binary-predeb target work on the usr/lib/python* directory
   as we don't have usr/share/pyshared anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
        ts = TimeScale(microseconds=1)
149
149
        base = DTS(1975, 3, 15, 10, 45, 10)
150
150
        start = base + 2.8e-6
151
 
        end = start + 9.2e-6
 
151
        end = base + 9.2e-6
152
152
        ticks = ts.ticks(start, end)
153
153
        desired = [base+i for i in (3e-6, 4e-6, 5e-6, 6e-6, 7e-6, 8e-6, 9e-6)]
154
154
        print "ticks:   ", ticks