File: test_launchpad_236872.py

package info (click to toggle)
pyephem 4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,380 kB
  • sloc: ansic: 77,574; python: 2,529; makefile: 74
file content (14 lines) | stat: -rw-r--r-- 371 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import unittest
import ephem

# See whether asking for the rising-time of Mars hangs indefinitely.

class Launchpad236872Tests(unittest.TestCase):
    def runTest(self):
        mars = ephem.Mars()
        boston = ephem.city('Boston')
        boston.date = ephem.Date('2008/5/29 15:59:16')
        boston.next_rising(mars)