Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace R[x] by R['x'] in doctests #17407

Closed
jdemeyer opened this issue Nov 27, 2014 · 29 comments
Closed

Replace R[x] by R['x'] in doctests #17407

jdemeyer opened this issue Nov 27, 2014 · 29 comments

Comments

@jdemeyer
Copy link
Contributor

This ticket is split off from #10483 and contains the trivial doctest fixes such that we can concentrate on the less trivial stuff in #10483.

Component: doctest coverage

Keywords: rings, variables, names

Author: Simon King, Ralf Stephan

Branch/Commit: 0e7a1c1

Reviewer: Jeroen Demeyer

Issue created by migration from https://trac.sagemath.org/ticket/17407

@jdemeyer jdemeyer added this to the sage-6.5 milestone Nov 27, 2014
@jdemeyer
Copy link
Contributor Author

Branch: u/jdemeyer/ticket/17407

@jdemeyer
Copy link
Contributor Author

Commit: 6429596

@jdemeyer
Copy link
Contributor Author

New commits:

6429596Trac #17407: replace R[x] by R['x'] in doctests

@jdemeyer
Copy link
Contributor Author

Reviewer: Jeroen Demeyer

@rwst
Copy link
Contributor

rwst commented Nov 27, 2014

comment:4

That was too fast for me, I had a commit for #10483 in the works. I'll append the missing doctest fixes from #10483 here.

@rwst
Copy link
Contributor

rwst commented Nov 27, 2014

Changed branch from u/jdemeyer/ticket/17407 to public/17407

@rwst
Copy link
Contributor

rwst commented Nov 27, 2014

Changed commit from 6429596 to 1ffdb49

@rwst
Copy link
Contributor

rwst commented Nov 27, 2014

Changed keywords from none to rings, variables, names

@rwst
Copy link
Contributor

rwst commented Nov 27, 2014

New commits:

1ffdb4917407: more doctest fixes

@jdemeyer
Copy link
Contributor Author

Changed branch from public/17407 to u/jdemeyer/ticket/17407

@jdemeyer
Copy link
Contributor Author

Changed commit from 1ffdb49 to b3289a8

@jdemeyer
Copy link
Contributor Author

comment:8

Since I created this ticket specifically to treat only the easy trivial cases, I undid some of your changes (I'll add them to #10483 immediately).

Positive_review to the rest.


New commits:

b3289a8Undo non-trivial changes

@rwst
Copy link
Contributor

rwst commented Nov 27, 2014

Changed branch from u/jdemeyer/ticket/17407 to u/rws/ticket/17407

@rwst
Copy link
Contributor

rwst commented Nov 27, 2014

New commits:

76c34e817407: even more dotest fixes, should be all

@rwst
Copy link
Contributor

rwst commented Nov 27, 2014

Changed commit from b3289a8 to 76c34e8

@jdemeyer
Copy link
Contributor Author

comment:12

Don't review your own patches :-)

Can you please remove these changes:

sage: J = ZZ['x'].ideal(7,x)

and

sage: a = QQ[I]['x'](x)

@jdemeyer
Copy link
Contributor Author

comment:13

For the french_book tests, it's probably better to keep the tests and simply add the deprecation message in #10483. So you should also remove those changes from this ticket.

@vbraun
Copy link
Member

vbraun commented Nov 27, 2014

Changed branch from u/rws/ticket/17407 to 76c34e8

@vbraun
Copy link
Member

vbraun commented Nov 27, 2014

Changed commit from 76c34e8 to none

@vbraun vbraun reopened this Nov 27, 2014
@rwst
Copy link
Contributor

rwst commented Nov 28, 2014

comment:16

git ci tells me Your branch is based on 'trac/76c34e825a2381a7517b33c312ef9a06309866a8', but the upstream is gone.. So I guess Volker wants to encourage squashing of commits ;)

@jdemeyer
Copy link
Contributor Author

comment:17

I have no idea what that means, are you unable to push your branch to trac?

@rwst
Copy link
Contributor

rwst commented Nov 28, 2014

Changed branch from 76c34e8 to public/17407

@rwst
Copy link
Contributor

rwst commented Nov 28, 2014

Commit: d4f68b7

@rwst
Copy link
Contributor

rwst commented Nov 28, 2014

comment:19

Replying to @jdemeyer:

I have no idea what that means, are you unable to push your branch to trac?

Volker confused me with taking back the 'fixed'.


New commits:

6429596Trac #17407: replace R[x] by R['x'] in doctests
1ffdb4917407: more doctest fixes
b3289a8Undo non-trivial changes
76c34e817407: even more dotest fixes, should be all
d4f68b717407: more fixes

@jdemeyer
Copy link
Contributor Author

comment:20

OK, now please do not make further changes to this branch.

@jdemeyer
Copy link
Contributor Author

Changed branch from public/17407 to u/jdemeyer/ticket/17407

@jdemeyer
Copy link
Contributor Author

comment:22

If you agree with this last commit, let's give this a definitive positive_review.


New commits:

0e7a1c1Trivial doctest reformatting

@jdemeyer
Copy link
Contributor Author

Changed commit from d4f68b7 to 0e7a1c1

@vbraun
Copy link
Member

vbraun commented Nov 30, 2014

Changed branch from u/jdemeyer/ticket/17407 to 0e7a1c1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants