Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
abhisrkckl committed Apr 6, 2023
1 parent 664cdd8 commit 0976fa4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/explanation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ corrections, the TCB timescale does not advance at the same rate as TDB
you may encounter pulsar timing models or even measurements that use
TCB. PINT provides a command line tool `tcb2tdb` to approximately convert
TCB timing models to TDB. PINT can also optionally convert TCB timing models
to TDB (approximately) upon read.
to TDB (approximately) upon read.

Note that the need for leap seconds is because the Earth's rotation is
somewhat erratic - no, we're not about to be thrown off, but its
Expand Down
2 changes: 1 addition & 1 deletion tests/test_tcb2tdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_convert_units(backwards):
with pytest.raises(ValueError):
m = ModelBuilder()(StringIO(simplepar))

m = ModelBuilder()(StringIO(simplepar), allow_tcb=True)
m = ModelBuilder()(StringIO(simplepar), allow_tcb="raw")
f0_tcb = m.F0.value
pb_tcb = m.PB.value
convert_tcb_tdb(m, backwards=backwards)
Expand Down

0 comments on commit 0976fa4

Please sign in to comment.