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

mark all Lie tests as optional "requires LiE" (this is a *very* easy ticket!) #12334

Closed
williamstein opened this issue Jan 21, 2012 · 8 comments

Comments

@williamstein
Copy link
Contributor

Looking at the optional tests of the Lie package, shows many that aren't properly marked with "requires LiE" (and many are):

sage: search_src('optional', 'lie')
...
interfaces/lie.py:359:            sage: lie._read_info_files(use_disk_cache=False) #optional -- requires LiE
interfaces/lie.py:360:            sage: lie._trait_names_list #optional
interfaces/lie.py:504:            sage: lie.trait_names() #optional -- requires LiE
interfaces/lie.py:521:            sage: lie._an_element_impl() #optional -- requires LiE
interfaces/lie.py:533:            sage: lie.read(filename)  #optional -- requires LiE
interfaces/lie.py:534:            sage: lie.get('x')        #optional

The point of this ticket is to make them all be marked "#optional -- requires LiE". Pretty easy.

I think this ticket should get a positive review even if

  sage -t -only_optional=LiE lie.py

doesn't pass. Fixing any failures in the lie interface (if there are any) should be a separate ticket.

CC: @orlitzky

Component: doctest coverage

Keywords: sd40.5

Author: Michael Orlitzky

Reviewer: Benjamin Jones

Merged: sage-5.1.beta2

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

@orlitzky
Copy link
Contributor

comment:1

After the patch,

$ sage -t -verbose -long -optional lie.py
...
231 passed and 0 failed.
$ sage -t -verbose -long -only-optional lie.py
...
168 passed and 0 failed.
$ sage -t -verbose -long -only-optional=lie lie.py
...
168 passed and 0 failed.

@orlitzky
Copy link
Contributor

Author: Michael Orlitzky

@benjaminfjones
Copy link
Contributor

Reviewer: Benjamin Jones

@benjaminfjones
Copy link
Contributor

Changed keywords from none to sd40.5

@benjaminfjones
Copy link
Contributor

comment:3

Patch looks good and I get the same tests passed numbers as Michael at comment 1. Positive review.

@jdemeyer
Copy link

Fix optional syntax in sage/interfaces/lie.py.

@jdemeyer
Copy link

jdemeyer commented Jun 2, 2012

Merged: sage-5.1.beta2

@jdemeyer
Copy link

jdemeyer commented Jun 2, 2012

comment:4

Attachment: sage-trac_12334.patch.gz

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

4 participants